<?php
class Animal{
    public static $name;
    public $color;
    public $length;
    function __construct($a)
    {
        self::$name=$a;
    }

    public function eat(){
        echo self::$name;
    }
}